package stdying.handyweibo.injection.component;

import dagger.Component;
import stdying.handyweibo.MainActivity;
import stdying.handyweibo.injection.PreActivity;
import stdying.handyweibo.injection.restmodule.WeiboApiServiceModule;
import stdying.handyweibo.injection.module.MainActivityModule;
import stdying.handyweibo.injection.module.MainActivityPresenterModule;
import stdying.handyweibo.injection.module.WeiboTokenModule;

/**
 * Description: MainActivityComponent
 * 主activity的component
 * Author: liulili
 * Created: 2015-11-24
 */
@PreActivity
@Component(
        modules = {MainActivityModule.class,
                WeiboApiServiceModule.class,
                WeiboTokenModule.class,
                MainActivityPresenterModule.class}
)
public interface MainActivityComponent {
    void inject(MainActivity mainActivity);
}
